package com.dsr.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * (Description)实体类
 *
 * @author dsr
 * @since 2020-08-16 02:16:41
 */
@Getter
@Setter
@ApiModel("(Description)实体类")
public class Description implements Serializable {
    private static final long serialVersionUID = -50633504045187823L;
    @Id
    private String id;

    private String context;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date createDate;

    private String remark;

    private String title;
}
